package com.zlq.cn.mapper.un;

import com.alibaba.fastjson.JSONObject;
import com.zlq.cn.entity.VipOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 用户支付订单 Mapper 接口
 * </p>
 *
 * @author zhoucl
 * @since 2023-08-21
 */
public interface VipOrderMapper extends BaseMapper<VipOrder> {

    List<JSONObject> vipOrderTotal(@Param("bundleId") String bundleId,
                                   @Param("startTime") LocalDateTime startTime,
                                   @Param("endTime") LocalDateTime endTime);
}
